<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浪漫元宵节</title>
    <style>
        /* 在这里添加CSS样式 */
        body {
            margin: 0;
            padding: 0;
            background-color: #f0e6e6; /* 浅粉色背景 */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
            font-family: 'Arial', sans-serif;
        }

        .header {
            font-size: 24px;
            color: #ffcc00; /* 金色文字 */
            margin-bottom: 20px;
        }

        .tree {
            position: relative;
            width: 200px;
            height: 300px;
        }

        .trunk {
            width: 40px;
            height: 120px;
            background-color: brown;
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }

        .leaves {
            width: 200px;
            height: 200px;
            background-color: green;
            position: absolute;
            bottom: 120px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 50%;
        }

        .peach {
            width: 30px;
            height: 30px;
            background-color: pink;
            position: absolute;
            bottom: 180px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 50%;
        }

        .hearts {
            display: flex;
            justify-content: center;
            margin-top: 20px;
        }

        .heart {
            width: 50px;
            height: 50px;
            background-color: pink;
            position: relative;
            animation: heartbeat 1s infinite;
        }

        .heart::before, .heart::after {
            content: '';
            width: 50px;
            height: 50px;
            background-color: pink;
            position: absolute;
            border-radius: 50px 50px 0 0;
        }

        .heart::before {
            transform: rotate(-45deg);
            top: 0;
            left: -25px;
        }

        .heart::after {
            transform: rotate(45deg);
            top: 0;
            right: -25px;
        }

        .lanterns {
            position: absolute;
            top: 50px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            justify-content: space-around;
            width: 200px;
        }

        .lantern {
            width: 30px;
            height: 30px;
            background-color: orange;
            border-radius: 50%;
            animation: float 3s infinite;
        }

        @keyframes heartbeat {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.2);
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }
    </style>
</head>
<body>
    <div class="header">
        <p>翠翠宝宝~愿我们永远长长久久——爱你的闪闪</p>
    </div>
    <div class="tree">
        <div class="trunk"></div>
        <div class="leaves"></div>
        <div class="peach"></div>
    </div>
    <div class="hearts">
        <div class="heart"></div>
        <div class="heart"></div>
    </div>
    <div class="lanterns">
        <div class="lantern"></div>
        <div class="lantern"></div>
        <div class="lantern"></div>
    </div>
</body>
</html>